// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

#pragma once
#include "vector.h"
#include "Object.h"
//#define WIN32_LEAN_AND_MEAN
//#define VC_EXTRALEAN
//#include <windows.h>

//extern HANDLE exit_mutex;
//extern int shutdown;

//DWORD WINAPI physicsMain(LPVOID _bodies);

static double G=6.67259e-11;

VECTOR rk6_gravity_acceleration( double delta_t, VECTOR &affected_body_position,
	const VECTOR &gravitating_body_position,double gravitating_body_mass);

//void addObject(PhysObject* object);